<?php

include_once( '../api/session.php' );

require_once( '../api/Client.class.php' );

$userdata['accountNumber'] = $_GET['account'];
$userdata['value'] = $_GET['value'];
$userdata['additionalData']['concept'] = 'Ingrès efectiu';
$userdata['additionalData']['payee'] = 'Anònim';

$c = new Client( $_SESSION['token'] );

$ret = $c->deposit( $userdata );

print_r( $ret );

?>